package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@JsonIgnoreProperties("handler")
public class StrategySonComment extends BaseDomain {
    //一级子评论内容
    private String content;
    //父评论对象
    private StrategyComment parent ;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //评论者
    private User user;
    //二级子评论列表
    private List<StrategyGrandSonComment> grandSonComments;



}